package cn.zdm.demo.test.service.impl;

import cn.zdm.demo.test.mapper.AuthRolePoMapper;
import cn.zdm.demo.test.model.po.AuthRolePO;
import cn.zdm.demo.test.service.AuthRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * copyright (C), 2021, 武大吉奥科技有限公司
 *
 * @Program demo
 * @Description
 * @Author ZhaoDeman
 * @Create 2021/3/1 20:48
 * @Version 1.0.0
 * <author>                <time>                  <version>                   <description>
 * ZhaoDeman        2021/3/1 20:48                 1.0
 */
@Service
public class AuthRoleServiceImpl implements AuthRoleService {

    @Autowired
    private AuthRolePoMapper authRolePoMapper;

    /**
     * 新增角色 测试接口
     * @param authRolePO 实体authRolePo
     * @return
     */
    @Override
    public Integer addRole(AuthRolePO authRolePO) {
        return authRolePoMapper.insert(authRolePO);
    }
}
